package com.candy.config;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @author donglin
 * @Title:
 * @类名: WebSocketConfig
 * @date 2020/10/15
 */
@Component
public class WebSocketConfig {
    @Bean
    public ServerEndpointExporter serverEndpointExporter(){

        return  new ServerEndpointExporter();
    }
}
